package com.livestocksolutions.util;

import com.livestocksolutions.UsableItem;

/**
 * Store an Usable Item, that can be stored directly in a ComboBox.
 * @param <T> The Sub-Class of, or UsableItem to store in this UsableItemList
 *
 * @author Adam Parr
 * 
 * @.modified 07 March 2013
 */
public class UsableItemList<T extends UsableItem<?>> extends ItemList<T>{
	/**
	 * Constructor
	 * @param usableItem The UsableItem to store in this Object
	 */
	public UsableItemList(T usableItem){
		super(usableItem);
	}
	
	@Override
	public String toString(){
		return item.getName();
	}
}
